package com.penglecode.dp.creational.builder;

public class DellComputerBuilder implements ComputerBuilder {

	private Computer computer = new DellComputer();
	
	public void buildMainEngine() {
		System.out.println(">>> 创建Dell电脑主机.");
		//do something on computer instance
	}

	public void buildDisplayer() {
		System.out.println(">>> 创建Dell电脑显示器.");
		//do something on computer instance
	}

	public void buildPeripheral() {
		System.out.println(">>> 创建Dell电脑外设.");
		//do something on computer instance
	}

	public Computer getResult() {
		return computer;
	}

}
